package com.yf.entity.course;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 订单明细实体
 * 表名 lesson_order_item
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Wed Oct 24 11:55:59 CST 2018
 */
@Setter
@Getter
public class LessonOrderItemEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //ID
    private Long id;
    //章节ID
    private Long lessonId;
    //下单价格
    private BigDecimal price;
    //数量
    private Integer number;
    //订单
    private Long lessonOrder;

    public LessonOrderItemEntity(){

    }

    public LessonOrderItemEntity(Long lessonId, BigDecimal price) {
        this.lessonId = lessonId;
        this.price = price;
    }
}
